package com.qf.shop.dao;

import com.qf.shop.entity.User;

public interface UserDao {
    //查询用户
    User selectByUsername(String username);
    //插入用户
    int insertUser(User user);
    //设置邮件跟激活码
    int update(String email, String code);


}
